package com.example.justbuy.pojo;

import java.util.Date;
/*地址表*/
public class Address {
    /*编号*/
    private int id;
    /*收货人*/
    private String consignee;
    /*收货人电话*/
    private String phone;
    /*添加时间*/
    private Date addTime;
    /*userId（用户id）*/
    private int userId;
    /*省份*/
    private String pareaid;
    /*市*/
    private String careaid;
    /*县*/
    private String areaid;
    /*详细地址*/
    private String detailed;
    /*总地址*/
    private String address;
    /*是否默认地址*/
    private String defaultAddress;
    public void setId(int id) {
        this.id = id;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public void setPareaid(String pareaid) {
        this.pareaid = pareaid;
    }

    public String getPareaid() {
        return pareaid;
    }

    public String getCareaid() {
        return careaid;
    }

    public String getAreaid() {
        return areaid;
    }

    public void setCareaid(String careaid) {
        this.careaid = careaid;
    }

    public void setAreaid(String areaid) {
        this.areaid = areaid;
    }

    public void setDetailed(String detailed) {
        this.detailed = detailed;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getId() {
        return id;
    }

    public Date getAddTime() {
        return addTime;
    }

    public int getUserId() {
        return userId;
    }


    public String getDetailed() {
        return detailed;
    }

    public String getAddress() {
        return address;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getConsignee() {
        return consignee;
    }

    public String getPhone() {
        return phone;
    }

    public void setDefaultAddress(String defaultAddress) {
        this.defaultAddress = defaultAddress;
    }

    public String getDefaultAddress() {
        return defaultAddress;
    }
}
